import 'dart:io';

class CommonConfig {
  static int isHiddenOpen = 1; //0显示  1隐藏
  static bool isShowPay() {
    if (Platform.isIOS) {
      if (isHiddenOpen == 1) {
        return false;
      }
      return true;
    } else if (Platform.isAndroid && isHiddenOpen == 1) {
      return false;
    }
    return true;
  }

  static String appStoreUrl = 'https://apps.apple.com/us/app/id6450042614';
  static bool isShowGuide = false;
  static bool isHuawei = true;

  static bool get isHuaWeiPermission {
    return isHuawei && Platform.isAndroid;
  }

  //客服电话
  static String kfPhoneStr = '18109595315';
  //语音开关
  static bool audioSwitchSelected = true;
  //推送开关
  static bool pushSwitchSelected = true;
}
